<!DOCTYPE html>
<html>
<head>
<title>通过标签名找到HTML元素-----问题</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">


</head>
<body>
	<p>你好</p>
	<button onclick="demo3()">按钮3</button>
	<script>
		function demo3() {
			document.getElementsByTagName("p").innerHTML = "fd";
		}
	</script>
</body>
</html>
